#ifndef __MATH__
#define __MATH__

#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <map>
#include <stdio.h>
#include <vector>

#define MAX(a, b) ((a > b) ? a : b)
#define MIN(a, b) ((a > b) ? b : a)
#define SIGN(a) ((a >= 0) ? 1 : -1)

#define INFTY 65535    //a number big enough to ensure NAN
#define ACCURACY 1e-12 //set the accuracy
#define ITERATION 100  //set iterate times
#define PI 3.1415926

typedef unsigned int u_int; //无符号整型

#endif
